package nancal.mp.db.mongo.table

import java.io.*
import nbcp.base.db.*
import nbcp.base.comm.*
import nbcp.base.extend.*
import nbcp.base.enums.*
import nbcp.base.utils.*
import nbcp.myoql.db.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.mongo.*
import nbcp.myoql.db.mongo.base.*
import nbcp.myoql.db.mongo.component.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*



class MicroDetailMeta(private val parentPropertyName: String): MongoColumnName() {
    constructor(value: MongoColumnName) : this(value.toString()) {}
    /**
     * 微服务名称
     */
    @nbcp.base.db.annotation.Cn(value = """微服务名称""")
    val name = mongoColumnJoin(this.parentPropertyName, "name")
    /**
     * API输入
     */
    @nbcp.base.db.annotation.Cn(value = """API输入""")
    val apiIn = mongoColumnJoin(this.parentPropertyName, "apiIn")
    /**
     * API输出
     */
    @nbcp.base.db.annotation.Cn(value = """API输出""")
    val apiOut = mongoColumnJoin(this.parentPropertyName, "apiOut")
    /**
     * 标签
     */
    @nbcp.base.db.annotation.Cn(value = """标签""")
    val tag = mongoColumnJoin(this.parentPropertyName, "tag")
    /**
     * 版本
     */
    @nbcp.base.db.annotation.Cn(value = """版本""")
    val version = mongoColumnJoin(this.parentPropertyName, "version")
    /**
     * 实例数
     */
    @nbcp.base.db.annotation.Cn(value = """实例数""")
    val count = mongoColumnJoin(this.parentPropertyName, "count")
    /**
     * 代码仓库
     */
    @nbcp.base.db.annotation.Cn(value = """代码仓库""")
    val repository = mongoColumnJoin(this.parentPropertyName, "repository")
    /**
     * 创建时间
     */
    @nbcp.base.db.annotation.Cn(value = """创建时间""")
    val createAt = mongoColumnJoin(this.parentPropertyName, "createAt")
    override fun toString(): String {
        return mongoColumnJoin(this.parentPropertyName).toString()
    }
}

